package com.geovis.emergency.spd.entity.pc.pojo.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author Lonsho
 * @version 1.0
 * @date 2022/7/28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class DrillReportVO extends DrillStatisticsVO{
    private String drillName;
    private String drillType;
    private String planName;
    private String startTime;
    private String endTime;

    private List<DisasterVO> disasterList;
    private List<DutyOrgVO> dutyOrgList;
    private List<KpiVO> kpiData;
    private List<DisasterEventVO> disasterEventList;
    @Data
    public static class DisasterVO{
        private Integer idx;
        private String id;
        private String name;
    }
    @Data
    public static class DutyOrgVO{
        private String name;
    }
    @Data
    public static class KpiVO{
        private String name;
        private BigDecimal recordScore;
    }
    @Data
    public static class DrillPlanVO{
        private Integer idx;
        private String taskContent;
    }
    @Data
    public static class GroupVO{
        private List<DutyVO> dutyList;
        private String groupName;
        private List<DrillPlanVO> drillPlanList;
    }
    @Data
    public static class DutyVO{
        private String deptName;
        private String duty;
    }
    @Data
    public static class DisasterEventVO{
        private String title;
        private String content;
        private String responseAction;
        private List<GroupVO> groupList;
    }
}
